package com.ruoyi.dgw.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 无危化处理对象 treatment
 *
 * @author ruoyi
 * @date 2021-11-30
 */
@Data
public class Treatment extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;
    /**
     * 区域
     */
    @Excel(name = "区域")
    private String deptName;

    /**
     * 耳标编号
     */
    @Excel(name = "耳标编号")
    private String earNumber;

    /**
     * 焚烧时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "焚烧时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date incinerationTime;

    /**
     * 电话
     */
    @Excel(name = "电话")
    private String phone;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 处理人员
     */
    @Excel(name = "处理人员")
    private String disposeBy;

    @Excel(name = "补贴金额")
    private Long money;
    @Excel(name = "养殖户")
    private String nickName;
    @Excel(name = "状态",readConverterExp="1=未处理,2=已处理")
    private String status;
    //图片地址
    @Excel(name = "图片")
    private String applicatUrl;
    //处理图片地址
    private String disposeUrl;
    //育龄
    @Excel(name = "育龄（月）")
    private Long age;
}
